home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 22
/
AACD 22.iso
/
AACD
/
Resources
/
General
/
ProNET
/
src
/
utilities
/
pronet-flush.c
next >
Wrap
C/C++ Source or Header
|
1996-07-17
|
460b
|
29 lines
/*
pronet-flush.c
This command flushes pronet.device
`avail flush' has no effect at all.
*/
#include <exec/execbase.h>
#include <proto/exec.h>
void __chkabort(void) {} /* Disable CTRL-C handling */
ULONG __nocommandline = 0;
char versiontag[] = "\0$VER: pronet-flush 36.0 (17.7.96)";
int main()
{
struct Device *pdev;
Forbid();
if(pdev=(struct Device *)FindName(&SysBase->DeviceList,"pronet.device"))
RemDevice(pdev);
Permit();
return(0);
}